package com.example.boot.modules.system.vo;

import com.example.boot.modules.system.entity.RouteMeta;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author 王令
 * @since 2022/8/13 21:10
 */
@Data
@JsonInclude(Include.NON_EMPTY)
@Accessors(chain = true)
public class Menu {

    private Long id;

    private String name;

    private String code;

    private String path;

    private String component;

    private String redirect;

    private RouteMeta meta;

    private List<Menu> children;

    private Long parentId;

    private Integer order;
}
